import request from '../../utils/request.js'
 
//获取课程列表
export const getCourseListAPI=(params)=>{
  return request({
    url:'/student/courses',
    method:'get',
    data:params
  })
}
//加入班级
export const joinClassAPI=(params)=>{
    return request({
      url:'/student/cclass/update',
      method:'put',
      data:params
    })
  }